package com.leyantech.ecp.agenx.task.converter.output;

import com.leyantech.ecp.agenx.common.message.EnumWsFnType;
import com.leyantech.ecp.agenx.common.message.MessageHelper;

import io.vertx.core.json.JsonObject;

/**
 * @author eahau, {@literal <eahau@foxmail.com>}
 * @date 2022-11-01.
 */
public class PinDuoDuoTaskMessageConverter implements TaskMessageConverter<JsonObject> {

  @Override
  public JsonObject apply(JsonObject jsonObject) {
    return MessageHelper.buildMessage(EnumWsFnType.AGENT_QUERY_ORDER_BUYER_INFO, jsonObject);
  }

}
